import Layout from '@/layout'
export default {
  path: '/employees',
  component: Layout,
  children: [
    {
      path: '',
      name: 'employees',
      component: () => import('@/views/employees'),
      meta: { title: '员工', icon: 'people' }
    },
    { // 导入表单页面
      path: '/UploadExcel',
      name: 'UploadExcel',
      component: () => import('@/views/excel/index'),
      hidden: true // 默认不显示
    },
    { // 员工详情页面
      path: '/employeeDetails',
      name: 'EmployeeDetails',
      component: () => import('@/views/employees/employeeDetails'),
      hidden: true
    }
  ]
}
